package com.gusha.dao;

import java.math.BigInteger;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.gusha.model.SysScenic;
@Repository
public interface SysScenicDao extends JpaRepository<SysScenic,BigInteger>,JpaSpecificationExecutor<SysScenic> {

	List<SysScenic> findAllByScenicType(BigInteger bigInteger);

	SysScenic findAllById(BigInteger bigInteger);

}
